// utils/hash.go
package img

import (
	"crypto/md5"
	"encoding/hex"
	"io"
)

func Md5(s string) string {
	m := md5.New()
	io.WriteString(m, s)
	return hex.EncodeToString(m.Sum(nil))
}
